package com.memory.test.nosql.repository;

import org.springframework.data.domain.Page;
import com.memory.test.nosql.document.EsWords;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

public interface EsWordsRepository extends ElasticsearchRepository<EsWords, Long> {

        Page<EsWords> findByChineseOrEnglishOrDescribetion(String english, String chinese, String describetion, Pageable page);
        }
